home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / swingall.jar / javax / swing / plaf / metal / MetalComboBoxUI$1.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-07-15  |  919 b   |  26 lines

  1. package javax.swing.plaf.metal;
  2.  
  3. import java.awt.event.ActionEvent;
  4. import java.awt.event.ActionListener;
  5.  
  6. final class MetalComboBoxUI$1 implements ActionListener {
  7.    // $FF: synthetic field
  8.    private final MetalComboBoxUI this$0;
  9.  
  10.    // $FF: synthetic method
  11.    MetalComboBoxUI$1(MetalComboBoxUI var1) {
  12.       this.this$0 = var1;
  13.    }
  14.  
  15.    public void actionPerformed(ActionEvent var1) {
  16.       if (this.this$0.metalGetComboBox().isEnabled()) {
  17.          if (this.this$0.isPopupVisible()) {
  18.             this.this$0.selectNextPossibleValue();
  19.          } else {
  20.             this.this$0.setPopupVisible(this.this$0.metalGetComboBox(), true);
  21.          }
  22.       }
  23.  
  24.    }
  25. }
  26.